
function ValidateLoaiHinhThamDinhGia() {
	var tenloaihinhthamdinhgia = document.getElementsByName("LoaiHinhThamDinhGia_TenLoaiHinhThamDinhGia").item(0);
	if (tenloaihinhthamdinhgia.value == "") {
		alert("Please input TenLoaiHinhThamDinhGia");
		return false;
	}
	return true;
}

function ValidateSLM_Members() {
	var username = document.getElementsByName("SLM_Members_UserName").item(0);
	if (username.value == "") {
		alert("Please input UserName");
		return false;
	}
	var password = document.getElementsByName("SLM_Members_Password").item(0);
	if (password.value == "") {
		alert("Please input Password");
		return false;
	}
	var email = document.getElementsByName("SLM_Members_Email").item(0);
	if (email.value == "") {
		alert("Please input Email");
		return false;
	}
	return true;
}

function ValidateSLM_Members() {
	var username = document.getElementsByName("SLM_Members_UserName").item(0);
	if (username.value == "") {
		alert("Please input UserName");
		return false;
	}
	var password = document.getElementsByName("SLM_Members_Password").item(0);
	if (password.value == "") {
		alert("Please input Password");
		return false;
	}
	var email = document.getElementsByName("SLM_Members_Email").item(0);
	if (email.value == "") {
		alert("Please input Email");
		return false;
	}
	return true;
}

function ValidateSLM_Members() {
	var username = document.getElementsByName("SLM_Members_UserName").item(0);
	if (username.value == "") {
		alert("Please input UserName");
		return false;
	}
	var password = document.getElementsByName("SLM_Members_Password").item(0);
	if (password.value == "") {
		alert("Please input Password");
		return false;
	}
	var email = document.getElementsByName("SLM_Members_Email").item(0);
	if (email.value == "") {
		alert("Please input Email");
		return false;
	}
	return true;
}

function ValidateSLM_Members() {
	var username = document.getElementsByName("SLM_Members_UserName").item(0);
	if (username.value == "") {
		alert("Please input UserName");
		return false;
	}
	var password = document.getElementsByName("SLM_Members_Password").item(0);
	if (password.value == "") {
		alert("Please input Password");
		return false;
	}
	var email = document.getElementsByName("SLM_Members_Email").item(0);
	if (email.value == "") {
		alert("Please input Email");
		return false;
	}
	return true;
}


function ValidateGopY() {
	var tieude = document.getElementsByName("GopY_TieuDe").item(0);
	if (tieude.value == "") {
		alert("Please input TieuDe");
		return false;
	}
	var noidung = document.getElementsByName("GopY_NoiDung").item(0);
	if (noidung.value == "") {
		alert("Please input NoiDung");
		return false;
	}
	var email = document.getElementsByName("GopY_Email").item(0);
	if (email.value == "") {
		alert("Please input Email");
		return false;
	}
	var ngaygopy = document.getElementsByName("GopY_NgayGopY").item(0);
	if (ngaygopy.value == "") {
		alert("Please input NgayGopY");
		return false;
	}
	return true;
}

function ValidateSLM_Members() {
	var username = document.getElementsByName("SLM_Members_UserName").item(0);
	if (username.value == "") {
		alert("Please input UserName");
		return false;
	}
	var password = document.getElementsByName("SLM_Members_Password").item(0);
	if (password.value == "") {
		alert("Please input Password");
		return false;
	}
	var email = document.getElementsByName("SLM_Members_Email").item(0);
	if (email.value == "") {
		alert("Please input Email");
		return false;
	}
	return true;
}


function ValidateHoTro() {
	var hoten = document.getElementsByName("HoTro_HoTen").item(0);
	if (hoten.value == "") {
		alert("Please input HoTen");
		return false;
	}
	var nickname = document.getElementsByName("HoTro_NickName").item(0);
	if (nickname.value == "") {
		alert("Please input NickName");
		return false;
	}
	var phone = document.getElementsByName("HoTro_Phone").item(0);
	if (phone.value == "") {
		alert("Please input Phone");
		return false;
	}
	return true;
}

function ValidateSLM_Members() {
	var username = document.getElementsByName("SLM_Members_UserName").item(0);
	if (username.value == "") {
		alert("Please input UserName");
		return false;
	}
	var password = document.getElementsByName("SLM_Members_Password").item(0);
	if (password.value == "") {
		alert("Please input Password");
		return false;
	}
	var email = document.getElementsByName("SLM_Members_Email").item(0);
	if (email.value == "") {
		alert("Please input Email");
		return false;
	}
	return true;
}


